package com.nosnow.statistics;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author by bingHeng
 * @version 1.0
 * @Create 2020/5/31 19:56
 */

@SpringBootApplication
@ComponentScan(basePackages = {"com.nosnow"})
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling // 定时任务注解
public class StaApplication {

    public static void main(String[] args) {
        SpringApplication.run(StaApplication.class, args);
    }
}
